Find out, if the given number is abundantΒΆ

Find out, if the given number is abundant.
Note:
In number theory, an abundant number or excessive number is a number
for which the sum of its proper divisors is greater than the number itself.
The integer 12 is the first abundant number.
Its proper divisors are 1, 2, 3, 4 and 6 for a total of 16.
Test Data:
is_abundant(12)
is_abundant(13)
Expected output:
True
False
def is_abundant(N):
    fctr_sum = sum([fctr for fctr in range(1, N) if N % fctr == 0])
    # fctr_sum = 16 for N=12
    # fctr_sum = 1  for N=13
    return fctr_sum > N

# test
print(is_abundant(12))    # True
print(is_abundant(13))    # False